Downloads · 30 days
5
26% of all-time downloads
CesarChaMal/jvm_troubleshooting_dialogpt-large_full
jvm_troubleshooting_dialogpt-large_full is a machine learning model from CesarChaMal. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a fine-tuned conversational AI model specialized in JVM (Java Virtual Machine) troubleshooting and performance optimization. The model has been trained on domain-specific Q&A pairs generated from JVM troublesh…
Downloads · 30 days
5
26% of all-time downloads
All-time downloads
19
Public
Parameters
774M
88.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt40.3 GB · 63%
From the Hugging Face model README
This is a fine-tuned conversational AI model specialized in JVM (Java Virtual Machine) troubleshooting and performance optimization. The model has been trained on domain-specific Q&A pairs generated from JVM troubleshooting documentation to provide expert-level assistance with Java application issues.
This model is designed for:
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("CesarChaMal/jvm_troubleshooting_model")
model = AutoModelForCausalLM.from_pretrained("CesarChaMal/jvm_troubleshooting_model")
# Format your question
question = "What are common JVM memory issues?"
input_text = f"### Human: {question}\n### Assistant:"
# Generate response
inputs = tokenizer(input_text, return_tensors='pt')
outputs = model.generate(**inputs, max_new_tokens=150, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response.split("### Assistant:")[-1].strip())
The model was fine-tuned on a custom dataset of JVM troubleshooting Q&A pairs:
The model has been evaluated on 11 key JVM troubleshooting topics:
The model demonstrates strong domain knowledge in JVM troubleshooting scenarios and provides contextually relevant responses for technical support use cases.
pip install transformers torch
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load model and tokenizer
model_name = "CesarChaMal/jvm_troubleshooting_model"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
# Ask a question
question = "How do I troubleshoot OutOfMemoryError?"
input_text = f"### Human: {question}\n### Assistant:"
# Generate response
inputs = tokenizer(input_text, return_tensors='pt', truncation=True, max_length=512)
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=150,
temperature=0.7,
do_sample=True,
pad_token_id=tokenizer.eos_token_id
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
answer = response.split("### Assistant:")[-1].strip()
print(answer)
Clone the repository for interactive testing tools:
git clone https://github.com/CesarChaMal/python_process_custom_data_from_pdf
cd python_process_custom_data_from_pdf
python test_model.py # Interactive chat
python quick_test.py # Batch testing
If you use this model in your research or applications, please cite:
@misc{jvm_troubleshooting_model,
title={JVM Troubleshooting Assistant: A Fine-tuned Conversational AI Model},
author={CesarChaMal},
year={2024},
url={https://huggingface.co/CesarChaMal/jvm_troubleshooting_model}
}
For questions or issues regarding this model, please:
This model card was automatically generated as part of the PDF to Q&A Dataset Generator pipeline.