Text Classification
Joblib
sentence-transformers
English
scikit-learn
job-classification
autonomous-vehicles
Instructions to use husthunterpy01/av-job-relevance-embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use husthunterpy01/av-job-relevance-embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("husthunterpy01/av-job-relevance-embedding") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
AV job relevance (frozen MiniLM + logistic probe)
Logistic regression head trained on Groq-labeled AV vs non-AV job postings.
The encoder is the public sentence-transformers/all-MiniLM-L6-v2 checkpoint and is not fine-tuned.
Files
relevance_model_embedding.joblib— sklearnLogisticRegression(class_weight=balanced)
Load
from scrapers.service.ml.embedding_classifier import EmbeddingRelevanceClassifier
clf = EmbeddingRelevanceClassifier.load("relevance_model_embedding.joblib")
# or, with no local file:
clf = EmbeddingRelevanceClassifier.load("/does/not/exist") # downloads this repo
Same weights as python3 -m scrapers.utils.relevance_classifier_cli train --only-llm-labeled.