Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/KonferCA/Meta-Hack
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirAgassi committed Nov 24, 2024
2 parents 9fc8db1 + 3953e1d commit bbf8ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/generate_answer.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def load_base_model():
# Load tokenizer
tokenizer = AutoTokenizer.from_pretrained(Config.MODEL_NAME,
token=Config.HUGGINGFACE_ACCESS_TOKEN,
max_new_tokens=8096)
max_new_tokens=300)

# Load model in 8-bit to reduce memory usage
base_model = AutoModelForCausalLM.from_pretrained(Config.MODEL_NAME,
Expand Down

0 comments on commit bbf8ca2

Please sign in to comment.