Closed sandeep-krutrim closed 2 months ago
Hi @sandeep-krutrim,
We have provided an example of sentence classification here.
The example above keeps the language model frozen and just trains a linear classifier. However, it is also possible to train the LLM as well. Let me know if you need any more details.
Closing as it is stale. Feel free to re-open if the issue still persists.
Please provide. a script for finetuning the supervised contrastive models for sentence classification and NLI task.
Is Lora Finetuning required or AutoModelforSequenceClassification can be used to train ?