npnik4/resume_and_summary
Viewer • Updated • 25 • 6
How to use npnik4/resume-summarizer with Transformers:
# Use a pipeline as a high-level helper
# Warning: Pipeline type "summarization" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# 'pip install "transformers<5.0.0'
from transformers import pipeline
pipe = pipeline("summarization", model="npnik4/resume-summarizer") # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("npnik4/resume-summarizer")
model = AutoModelForCausalLM.from_pretrained("npnik4/resume-summarizer")The following bitsandbytes quantization config was used during training:
The following hyperparameters were used during training:
| Step | Training Loss |
|---|---|
| 25 | 2.124 |
| 50 | 1.835 |
| 75 | 1.657 |
| 100 | 1.403 |
| 125 | 1.113 |