Instructions to use deshanksuman/finetunedQwen3-4B-Instruct-WSD-Verb_reasoning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deshanksuman/finetunedQwen3-4B-Instruct-WSD-Verb_reasoning with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("deshanksuman/finetunedQwen3-4B-Instruct-WSD-Verb_reasoning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Word Sense Disambiguation with Reasoning using "deshanksuman/Advance_Reasoning_for_Verb_WSD".
This approach is focused on syntactic and Semantic reasoning.
Hyperparameter for Training
per_device_train_batch_size=4, gradient_accumulation_steps=8, warmup_steps=50, num_train_epochs=2, learning_rate=2e-4, fp16=not torch.cuda.is_bf16_supported(), bf16=torch.cuda.is_bf16_supported(), logging_steps=10, optim="adamw_torch", weight_decay=0.01, lr_scheduler_type="linear", seed=3407
This is developed by Deshan Sumanathilaka https://sumanathilaka.github.io
Acknowledgement
We acknowledge the support of the Supercomputing Wales project, which is part-funded by the European Regional Development Fund (ERDF) via Welsh Government.