joshuasundance
commited on
Commit
•
77c795f
1
Parent(s):
1e7a595
Update README.md
Browse files
README.md
CHANGED
@@ -114,8 +114,9 @@ from setfit import AbsaModel
|
|
114 |
|
115 |
# Download from the 🤗 Hub
|
116 |
model = AbsaModel.from_pretrained(
|
117 |
-
"joshuasundance/setfit-absa-all-
|
118 |
"joshuasundance/setfit-absa-all-mpnet-base-v2-laptops-polarity",
|
|
|
119 |
)
|
120 |
# Run inference
|
121 |
preds = model("The food was great, but the venue is just way too busy.")
|
|
|
114 |
|
115 |
# Download from the 🤗 Hub
|
116 |
model = AbsaModel.from_pretrained(
|
117 |
+
"joshuasundance/setfit-absa-all-MiniLM-L6-v2-laptops-aspect",
|
118 |
"joshuasundance/setfit-absa-all-mpnet-base-v2-laptops-polarity",
|
119 |
+
spacy_model="en_core_web_sm",
|
120 |
)
|
121 |
# Run inference
|
122 |
preds = model("The food was great, but the venue is just way too busy.")
|