How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="dev-analyzer/file_path_model")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("dev-analyzer/file_path_model")
model = AutoModelForSequenceClassification.from_pretrained("dev-analyzer/file_path_model")
Quick Links

Model for classifying file paths of changed files in git commits for Java projects. This model is based on bert-base-uncased and fine-tuned. Categorizes into the following categories:

  1. Source Code - Core application code typically involving back-end (server-side logic, APIs, database interactions) and front-end (user interface, client-side logic).
  2. Tests - Code files in a test directory or containing "test".
  3. Resources - Assets and other resources (images, stylesheets).
  4. Configuration - Configuration files and scripts (build scripts, manifests, shell scripts).
  5. Documentation - Software documentation (README files, package-info, license, notice files).
Downloads last month
11
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for dev-analyzer/file_path_model

Finetuned
(6678)
this model