Spaces:
Build error
Build error
AhmedTaha012
commited on
Commit
•
aab99cb
1
Parent(s):
266952b
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ nltk.download('stopwords')
|
|
16 |
similarityModel = SentenceTransformer('BAAI/bge-small-en')
|
17 |
sentiment_model = pipeline("text-classification", model="AhmedTaha012/managersFeedback-V1.0.7")
|
18 |
increase_decrease_model = pipeline("text-classification", model="AhmedTaha012/nextQuarter-status-V1.1.9")
|
19 |
-
tokenizerTopic = AutoTokenizer.from_pretrained("nickmuchi/finbert-tone-finetuned-finance-topic-classification",use_fast=True)
|
20 |
modelTopic = AutoModelForSequenceClassification.from_pretrained("nickmuchi/finbert-tone-finetuned-finance-topic-classification",token="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")
|
21 |
# torch.compile(modelTopic)
|
22 |
tokenizer = AutoTokenizer.from_pretrained("AhmedTaha012/finance-ner-v0.0.9-finetuned-ner")
|
|
|
16 |
similarityModel = SentenceTransformer('BAAI/bge-small-en')
|
17 |
sentiment_model = pipeline("text-classification", model="AhmedTaha012/managersFeedback-V1.0.7")
|
18 |
increase_decrease_model = pipeline("text-classification", model="AhmedTaha012/nextQuarter-status-V1.1.9")
|
19 |
+
tokenizerTopic = AutoTokenizer.from_pretrained("nickmuchi/finbert-tone-finetuned-finance-topic-classification",use_fast=True,token="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")
|
20 |
modelTopic = AutoModelForSequenceClassification.from_pretrained("nickmuchi/finbert-tone-finetuned-finance-topic-classification",token="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")
|
21 |
# torch.compile(modelTopic)
|
22 |
tokenizer = AutoTokenizer.from_pretrained("AhmedTaha012/finance-ner-v0.0.9-finetuned-ner")
|