File size: 1,007 Bytes
30e1991 8a2bdbf 30e1991 8a2bdbf 30e1991 8a2bdbf 85fd41d 8a2bdbf 85fd41d 8a2bdbf 85fd41d 8a2bdbf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | ---
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](https://huggingface.co/MrAlexGov/vacancy-classifier-ru):
по тексту вакансии определяет, относится ли она к IT.
Документация API: https://mrAlexGov-fastapi-vacancy-classifier.hf.space/docs
Пример использования:
```bash
curl -X POST "https://mrAlexGov-fastapi-vacancy-classifier.hf.space/predict" \
-H "Content-Type: application/json" \
-d '{"text": "Ищем Python разработчика"}'
```
Ответ:
```json
{"prediction":"IT-вакансия","is_it_job":true,"confidence":0.9928556680679321,"class_id":1}
```
|