Spaces:
Sleeping
Sleeping
SpicyMelonYT
commited on
Commit
·
7cabf61
1
Parent(s):
dd978f2
specify instruct llama3
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from datasets import load_dataset
|
|
6 |
"""
|
7 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
8 |
"""
|
9 |
-
client = InferenceClient("meta-llama/Meta-Llama-3-8B")
|
10 |
|
11 |
|
12 |
def respond(
|
@@ -48,7 +48,7 @@ def train_model():
|
|
48 |
'train': 'training_set.json'})
|
49 |
|
50 |
# Load model
|
51 |
-
model = AutoModelForCausalLM.from_pretrained('meta-llama/Meta-Llama-3-8B')
|
52 |
|
53 |
# Define training arguments
|
54 |
training_args = TrainingArguments(
|
|
|
6 |
"""
|
7 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
8 |
"""
|
9 |
+
client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct")
|
10 |
|
11 |
|
12 |
def respond(
|
|
|
48 |
'train': 'training_set.json'})
|
49 |
|
50 |
# Load model
|
51 |
+
model = AutoModelForCausalLM.from_pretrained('meta-llama/Meta-Llama-3-8B-Instruct')
|
52 |
|
53 |
# Define training arguments
|
54 |
training_args = TrainingArguments(
|