geored commited on
Commit
cf8bb65
1 Parent(s): 0a06673

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ from transformers import pipeline
3
  from transformers import AutoModelForCausalLM, AutoTokenizer
4
 
5
  # Load the model and tokenizer
6
- # model_name = "AdaptLLM/law-LLM"
7
- model_name = "google/gemma-2b"
8
  # model_name = "mistralai/Mistral-7B-v0.1"
9
  tokenizer = AutoTokenizer.from_pretrained(model_name)
10
  model = AutoModelForCausalLM.from_pretrained(model_name)
 
3
  from transformers import AutoModelForCausalLM, AutoTokenizer
4
 
5
  # Load the model and tokenizer
6
+ model_name = "AdaptLLM/law-LLM"
7
+ # model_name = "google/gemma-2b"
8
  # model_name = "mistralai/Mistral-7B-v0.1"
9
  tokenizer = AutoTokenizer.from_pretrained(model_name)
10
  model = AutoModelForCausalLM.from_pretrained(model_name)