Spaces:
Paused
Paused
Lin Chen
commited on
Commit
·
e460bce
1
Parent(s):
bd2b8d3
Llama 8B
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
|
5 |
hf_api_token = st.secrets["HUGGINGFACE_API_TOKEN"]
|
6 |
|
7 |
# Load the model and tokenizer using the API token
|
8 |
-
model_name = "meta-llama/Meta-Llama-3.1-
|
9 |
tokenizer = pipeline('text-generation', model_name, token=hf_api_token)
|
10 |
|
11 |
# Create a text generation pipeline
|
|
|
5 |
hf_api_token = st.secrets["HUGGINGFACE_API_TOKEN"]
|
6 |
|
7 |
# Load the model and tokenizer using the API token
|
8 |
+
model_name = "meta-llama/Meta-Llama-3.1-8B"
|
9 |
tokenizer = pipeline('text-generation', model_name, token=hf_api_token)
|
10 |
|
11 |
# Create a text generation pipeline
|