Spaces:
Running
Running
Update index.php
Browse files
index.php
CHANGED
@@ -11,13 +11,7 @@
|
|
11 |
// Hugging Face APIトークンとAPIエンドポイント
|
12 |
$apiToken = getenv('YOUR_HUGGING_FACE_API_TOKEN');
|
13 |
$modelName = 'elyza/ELYZA-japanese-CodeLlama-7b-instruct'; // 使用するモデル名【変更可能】
|
14 |
-
|
15 |
-
// TheBloke/CodeLlama-7B-GGUF
|
16 |
-
// elyza/ELYZA-japanese-CodeLlama-7b
|
17 |
-
// mmnga/ELYZA-japanese-CodeLlama-7b-instruct-gguf
|
18 |
-
// codellama/CodeLlama-7b-Instruct-hf
|
19 |
-
// bigcode/starcoder
|
20 |
-
// Salesforce/codegen-350M-multi
|
21 |
// APIエンドポイント
|
22 |
$url = "https://api-inference.huggingface.co/models/$modelName";
|
23 |
|
|
|
11 |
// Hugging Face APIトークンとAPIエンドポイント
|
12 |
$apiToken = getenv('YOUR_HUGGING_FACE_API_TOKEN');
|
13 |
$modelName = 'elyza/ELYZA-japanese-CodeLlama-7b-instruct'; // 使用するモデル名【変更可能】
|
14 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
// APIエンドポイント
|
16 |
$url = "https://api-inference.huggingface.co/models/$modelName";
|
17 |
|