Downloads · 30 days
10
24% of all-time downloads
razaque/bert-job-chatbot
bert-job-chatbot is a text classification model from razaque. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
This is a fine-tuned BERT model for job-related query classification. It was trained on a custom dataset for understanding and classifying job-related questions.
Downloads · 30 days
10
24% of all-time downloads
All-time downloads
41
Public
Parameters
109M
443 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
This is a fine-tuned BERT model for job-related query classification. It was trained on a custom dataset for understanding and classifying job-related questions.
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model_name = "razaque/bert-job-chatbot"
model = AutoModelForSequenceClassification.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
query = "What are the best software engineering roles?"
inputs = tokenizer(query, return_tensors="pt", truncation=True, padding="max_length", max_length=512)
outputs = model(**inputs)
predicted_class = outputs.logits.argmax(dim=-1).item()
print(f"Predicted class: {predicted_class}")