Update README.md
Browse files
README.md
CHANGED
@@ -107,7 +107,8 @@ from setfit import AbsaModel
|
|
107 |
# Download from the 🤗 Hub
|
108 |
model = AbsaModel.from_pretrained(
|
109 |
"joshuasundance/setfit-absa-all-MiniLM-L6-v2-laptops-aspect",
|
110 |
-
"joshuasundance/setfit-absa-all-
|
|
|
111 |
)
|
112 |
# Run inference
|
113 |
preds = model("The food was great, but the venue is just way too busy.")
|
|
|
107 |
# Download from the 🤗 Hub
|
108 |
model = AbsaModel.from_pretrained(
|
109 |
"joshuasundance/setfit-absa-all-MiniLM-L6-v2-laptops-aspect",
|
110 |
+
"joshuasundance/setfit-absa-all-mpnet-base-v2-laptops-polarity",
|
111 |
+
spacy_model="en_core_web_sm",
|
112 |
)
|
113 |
# Run inference
|
114 |
preds = model("The food was great, but the venue is just way too busy.")
|