RinInori commited on
Commit
99f1f8b
1 Parent(s): 53d5ff3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -10,9 +10,8 @@ from transformers import LlamaTokenizer, LlamaForCausalLM, GenerationConfig
10
 
11
  tokenizer = LlamaTokenizer.from_pretrained("decapoda-research/llama-7b-hf")
12
 
13
- #BASE_MODEL = "TheBloke/vicuna-7B-1.1-HF"
14
- BASE_MODEL =" TheBloke/vicuna-7B-1.1-GPTQ-4bit-128g"
15
- LORA_WEIGHTS = "RinInori/vicuna_finetuned_6_sentiments" #Fine-tuned Alpaca model for sentiment analysis
16
 
17
  if torch.cuda.is_available():
18
  device = "cuda"
 
10
 
11
  tokenizer = LlamaTokenizer.from_pretrained("decapoda-research/llama-7b-hf")
12
 
13
+ BASE_MODEL = "TheBloke/vicuna-7B-1.1-HF"
14
+ LORA_WEIGHTS = "RinInori/vicuna_finetuned_6_sentiments" #Fine-tuned Vicuna model for sentiment analysis
 
15
 
16
  if torch.cuda.is_available():
17
  device = "cuda"