π§ Fine-Tuned Argumentation Model
π₯ Fine-Tuned LLM for Computational Argumentation using Quantitative Bipolar Argumentation Framework (QBAF)!
β
Enhances LLM outputs using argumentation logic & belief theory
β
Evaluates claims based on supporting & opposing arguments
β
Useful for AI-based debate systems, legal reasoning & NLP research
π Model Page: https://huggingface.co/debanganghosh/primus-fined-tuned-llm
π¦ Installation
To use this model, install the required dependencies:
pip install transformers torch huggingface_hub
If you're using a GPU for acceleration, install CUDA for PyTorch:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
π οΈ How to Use
You can use this model for argument evaluation and text-based reasoning in Python.
πΉ Load the Model
from transformers import AutoModelForCausalLM, AutoTokenizer
MODEL_NAME = "YOUR_USERNAME/YOUR_MODEL_NAME"
# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained(MODEL_NAME)
model = AutoModelForCausalLM.from_pretrained(MODEL_NAME)
π Generate Arguments
prompt = "Should AI be regulated for ethical reasons?"
inputs = tokenizer(prompt, return_tensors="pt")
# Generate response
output = model.generate(**inputs, max_new_tokens=150)
# Decode and print
print(tokenizer.decode(output[0], skip_special_tokens=True))
π‘ Suggested Prompts
Here are some example prompts you can try:
π "Does climate change require immediate policy intervention?"
π "Should cryptocurrencies be regulated by governments?"
π "Is remote work better than office work?"
π "Can AI replace human decision-making in law?"
π "Should social media platforms be held accountable for misinformation?"
π "Are electric vehicles truly better for the environment?"
π "Does universal healthcare improve quality of life?"
π "Should students be allowed to use AI for academic purposes?"
π "Is space exploration worth the investment?"
π "Can democracy survive in the digital age?"
π Uploading & Sharing the Model
If you want to fine-tune and push updates to the model, use:
from huggingface_hub import notebook_login
notebook_login()
model.push_to_hub("YOUR_USERNAME/YOUR_MODEL_NAME")
tokenizer.push_to_hub("YOUR_USERNAME/YOUR_MODEL_NAME")
π License & Contribution
π License: MIT
π€ Contributions: Feel free to fork and improve this model!
β¨ Enjoy using this fine-tuned argumentation model! π
Let me know if you need any modifications! π―
- Downloads last month
- 2
Model tree for debanganghosh/primus-fined-tuned-llm
Base model
openai-community/gpt2