BramVanroy commited on
Commit
8b0e940
·
verified ·
1 Parent(s): a9247f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ DEFAULT_MAX_NEW_TOKENS = 1024
16
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "8192"))
17
 
18
  model_id = "BramVanroy/fietje-2b-chat"
19
- avatar_url = "https://huggingface.co/spaces/BramVanroy/fietje-2b/resolve/main/img/fietje-2b-avatar.png"
20
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto")
21
  tokenizer = AutoTokenizer.from_pretrained(model_id)
22
  tokenizer.pad_token_id = tokenizer.eos_token_id
 
16
  MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "8192"))
17
 
18
  model_id = "BramVanroy/fietje-2b-chat"
19
+ avatar_url = "https://huggingface.co/spaces/BramVanroy/fietje-2/resolve/main/img/fietje-2b-avatar.png"
20
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto")
21
  tokenizer = AutoTokenizer.from_pretrained(model_id)
22
  tokenizer.pad_token_id = tokenizer.eos_token_id