Lin Chen commited on
Commit
e460bce
·
1 Parent(s): bd2b8d3
Files changed (1) hide show
  1. app.py +1 -1
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-405B"
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