myCompiler
English
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
Y
@yescode1
Building a Sentiment Analysis Tool with Hugging face
Python
3 months ago
TH=0.72 DEMOS=[("how to delete my account","how do i remove my account"), ("start the game","begin the game"), ("nearest hospital to me","closest clinic near me"), ("mobile games are getting bigger in size","game size on phones
Building a Sentiment Analysis Tool with Hugging face
Python
3 months ago
import requests, re, random from config import HF_API_KEY #change below model to this if required --> "sentence-transformers/all-mpnet-base-v2" MODEL="sentence-transformers/all-MiniLM-L6-v2" API=f"https://router.huggingface.co/hf-inference/models/{
Previous
Next page