Update utils.py
Browse files
utils.py
CHANGED
@@ -151,7 +151,7 @@ EMBEDDING_MODELL = "sentence-transformers/all-mpnet-base-v2"
|
|
151 |
|
152 |
#Modell und Tokenizer, um die Summary über die relevanten Texte zu machen
|
153 |
#mögliche Modelle: "HuggingFaceH4/zephyr-7b-alpha" #"t5-small" #"meta-llama/Meta-Llama-3-8B-Instruct" #"mistralai/Mistral-7B-Instruct-v0.3" #"microsoft/Phi-3-mini-4k-instruct" #"HuggingFaceH4/zephyr-7b-alpha"
|
154 |
-
HF_MODELL = "
|
155 |
modell_rag = AutoModelForSeq2SeqLM.from_pretrained(HF_MODELL)
|
156 |
tokenizer_rag = AutoTokenizer.from_pretrained(HF_MODELL)
|
157 |
|
|
|
151 |
|
152 |
#Modell und Tokenizer, um die Summary über die relevanten Texte zu machen
|
153 |
#mögliche Modelle: "HuggingFaceH4/zephyr-7b-alpha" #"t5-small" #"meta-llama/Meta-Llama-3-8B-Instruct" #"mistralai/Mistral-7B-Instruct-v0.3" #"microsoft/Phi-3-mini-4k-instruct" #"HuggingFaceH4/zephyr-7b-alpha"
|
154 |
+
HF_MODELL = "facebook/bart-large-cnn"
|
155 |
modell_rag = AutoModelForSeq2SeqLM.from_pretrained(HF_MODELL)
|
156 |
tokenizer_rag = AutoTokenizer.from_pretrained(HF_MODELL)
|
157 |
|