Quantifying the Carbon Emissions of Machine Learning
Paper
•
1910.09700
•
Published
•
32
from flair.data import Sentence
from flair.models import SequenceTagger
spanglish_tagger = SequenceTagger.load('benevanoff/spanglish-upos')
example_sentence = "Caperucita Roja put rocks en el estómago de la del perro."
spanglish_tagger.predict(example_sentence)
for token in example_sentence:
word = token.text
upos_tag = token.labels[0] # there will only be one label per token
print(f'The predicted UPOS tag for {word} is {upos_tag.value} with confidence of {upos_tag.score}')
[More Information Needed]
[More Information Needed]
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Use the code below to get started with the model.
[More Information Needed]
The Bilinguals in the Midwest Corpus
A subset of the Bangor Miami Corpus
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
BibTeX:
[More Information Needed]
APA:
[More Information Needed]