|
Download README.md from MrAlexGov/fastapi-vacancy-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/spaces/MrAlexGov/fastapi-vacancy-classifier/resolve/main/README.md
- Command line
-
hf download hf://spaces/MrAlexGov/fastapi-vacancy-classifier/README.md
-
curl -L -o README.md https://huggingface.co/spaces/MrAlexGov/fastapi-vacancy-classifier/resolve/main/README.md
1.01 kB
metadata
title: FastAPI Vacancy Classifier
emoji: 📊
colorFrom: pink
colorTo: yellow
sdk: docker
pinned: false
short_description: API на FastAPI для классификации вакансий IT / не-IT
FastAPI-сервис классификации вакансий
REST API на FastAPI (Python), оборачивающий BERT-классификатор MrAlexGov/vacancy-classifier-ru: по тексту вакансии определяет, относится ли она к IT.
Документация API: https://mrAlexGov-fastapi-vacancy-classifier.hf.space/docs
Пример использования:
curl -X POST "https://mrAlexGov-fastapi-vacancy-classifier.hf.space/predict" \
-H "Content-Type: application/json" \
-d '{"text": "Ищем Python разработчика"}'
Ответ:
{"prediction":"IT-вакансия","is_it_job":true,"confidence":0.9928556680679321,"class_id":1}