• Joshua H's avatar
    Update Code example according to deprecation of AutoModeWithLMHead (#7555) · 1a00f46c
    Joshua H authored
    'The class `AutoModelWithLMHead` is deprecated and will be removed in a future version. Please use `AutoModelForCausalLM` for causal language models, `AutoModelForMaskedLM` for masked language models and `AutoModelForSeq2SeqLM` for encoder-decoder models.'
    I dont know how to change the 'How to use this model directly from the 馃/transformers library:' part since it is not part of the model-paper
    1a00f46c
README.md 2.36 KB