Welcome & Inference Endpoint

#1
by scampion - opened
European Parliament org
edited Aug 24, 2023

All important information, such as new versions, enhancements in progress, and new releases on the point of inference will be communicated via this channel.

An inference endpoint is already deployed and available, you can use it with your token at https://xizrpi3gdk25o8lm.eu-west-1.aws.endpoints.huggingface.cloud

Best regards,
Sebastien

scampion changed discussion title from Welcome !! to Welcome & Inference Endpoint
European Parliament org
edited Oct 12, 2023

A Curl command if useful :

curl https://xizrpi3gdk25o8lm.eu-west-1.aws.endpoints.huggingface.cloud \
        -X POST \
        -d '{"inputs": "The Union condemns the continuing grave human rights violations by the Myanmar armed forces, including torture, sexual and gender-based violence, the persecution of civil society actors, human rights defenders and journalists, and attacks on the civilian population, including ethnic and religious minorities."}' \
        -H "Authorization: Bearer $HF_TOKEN" \
        -H "Content-Type: application/json"

don't forget to setup your HF token environment variable.

Sign up or log in to comment