Question Answering
Transformers
Safetensors
activeqa
question-reformulation
reinforcement-learning
telugu
indicqa
seq2seq
Instructions to use nlpctx/activeqa-indicqa-telugu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nlpctx/activeqa-indicqa-telugu with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" 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("question-answering", model="nlpctx/activeqa-indicqa-telugu")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nlpctx/activeqa-indicqa-telugu", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ActiveQA — IndicQA Telugu
This repository contains the trained artifacts for an Active Question Answering system.
Architecture
Original Question → Reformulator → Multiple Candidate Questions → QA Environment → Answer/F1 Reward → Selector → Best Reformulation
The reformulator is further optimized using REINFORCE with the QA performance as the reward.
Dataset
ai4bharat/IndicQA
Language: Telugu
Components
Reformulator
Generates alternative formulations of the original question.
QA Environment
Answers the original and reformulated questions using an extractive QA model.
Selector
Selects the candidate question expected to provide the best QA result.
RL
The reformulator receives the improvement in QA F1 as its reward.
Repository
nlpctx/activeqa-indicqa-telugu
- Downloads last month
- 18