Closed TomasUOM closed 2 years ago
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
❓ Questions and Help
Before asking:
What is your question?
I am a beginner in python and just learning about fairseq. I want to compare XLMRoberta with some other NER tools but I struggle to find the relevant command for Named Entity recognition of input/txt file. Any advice/tutorial would be much appreciated. Thanks!
Code
import torch !pip install sentencepiece xlmr = torch.hub.load('pytorch/fairseq', 'xlmr.large') xlmr.eval()
#### What have you tried? So far I went through the README on XLMRoberta as well as the pdf of the relevant paper, number of ISSUES on github and through Fairseq documentation. #### What's your environment? I use Google Colab with - sentencepiece Version (0.1.91) - fairseq Version (master I think) - PyTorch Version 1.6.0+cu101 - OS (e.g., Linux): windows 10 - How you installed fairseq (`pip`, source): !pip install fairseq - Python version: 3.6.7 - CUDA/cuDNN version: - Any other relevant information: