huggingface / setfit

Efficient few-shot learning with Sentence Transformers
https://hf.co/docs/setfit
Apache License 2.0
2.24k stars 223 forks source link

Bugfix: Error in optimum-intel notebook due to missing attributes after `torch.compile()` #516

Closed danielkorat closed 6 months ago

danielkorat commented 6 months ago

Reassigns missing device and tokenizer attributes to model body, after compilation removes them. @tomaarsen

review-notebook-app[bot] commented 6 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

HuggingFaceDocBuilderDev commented 6 months ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.