mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-16 19:18:24 +06:00
19 lines
475 B
Python
19 lines
475 B
Python
dependencies = ['torch', 'tqdm', 'boto3', 'requests', 'regex']
|
|
|
|
from hubconfs.bert_hubconf import (
|
|
bertTokenizer,
|
|
bertModel,
|
|
bertForNextSentencePrediction,
|
|
bertForPreTraining,
|
|
bertForMaskedLM,
|
|
bertForSequenceClassification,
|
|
bertForMultipleChoice,
|
|
bertForQuestionAnswering,
|
|
bertForTokenClassification
|
|
)
|
|
from hubconfs.gpt_hubconf import (
|
|
openAIGPTTokenizer,
|
|
openAIGPTModel,
|
|
openAIGPTLMHeadModel,
|
|
openAIGPTDoubleHeadsModel
|
|
) |