Hà LanThilinaRajapakse/simpletransformers
Transformers for Information Retrieval, Text Classification, NER, QA, Language Modelling, Language Generation, T5, Multi-Modal, and Conversational AI
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#3 Repository của tuần
#7 Repository của tuần
🚀 Simple Transformers: Transformer nhanh chóng chỉ với 3 dòng code
Một lớp bao bọc (wrapper) tiếp cận thân thiện quanh HuggingFace Transformers, giúp khởi tạo, huấn luyện và đánh giá mô hình chỉ trong 3 dòng.
Simple Transformers là một thư viện Python dựa trên Transformers của HuggingFace, cho phép người dùng nhanh chóng huấn luyện và đánh giá các mô hình Transformer mà không cần viết nhiều mã. Dự án hỗ trợ đầy đủ các nhiệm vụ NLP phổ biến như phân loại văn bản, nhận dạng thực thể (NER), trả lời câu hỏi, sinh ngôn ngữ, mô hình ngôn ngữ lớn, T5, xử lý đa phương thức và AI hội thoại.
✨ Điểm nổi bật
- Hỗ trợ nhiều nhiệm vụ: Information Retrieval, Language Modeling, Classification, NER, QA, T5, Multi-Modal, Conversational AI.
- Giao diện thống nhất: Mỗi nhiệm vụ có một lớp mô hình riêng (ví dụ:
ClassificationModel,NERModel,QuestionAnsweringModel). - Quy trình đơn giản: Khởi tạo → Huấn luyện (
train_model()) → Đánh giá (eval_model()) → Dự đoán (predict()). - Tích hợp W&B: Hỗ trợ theo dõi thí nghiệm với Weights & Biases.
- Cài đặt dễ dàng: Cài qua pip, hỗ trợ môi trường Conda và GPU/CUDA.
- Tài liệu trực tuyến: Toàn bộ tài liệu và ví dụ nằm tại thilinarajapakse.github.io/simpletransformers.
💡 Vì sao đáng chú ý
Simple Transformers không phải là một mô hình mới, mà là một lớp bao bọc giúp giảm đáng kể đường cong học của người dùng khi làm việc với HuggingFace Transformers. Thay vì phải viết hàng trăm dòng cấu hình và vòng lặp huấn luyện, người dùng chỉ cần gọi một vài phương thức chuẩn để hoàn thành toàn bộ quy trình. Điều này đặc biệt hữu ích cho các nhà nghiên cứu, sinh viên và kỹ sư NLP muốn thử nghiệm nhanh hoặc xây dựng pipeline nhanh.
#Transformers #NLP #Python #MachineLearning #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Laya Laya is an open-source, non-autoregressive System 1 decision model: give it a state (text, email, ticket, or JSON document) and typed questions, and it returns typed answers with mathematically calibrated probabilities and confidence scores. It...
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
Natural Language Processing for the next decade. Tokenization, Part-of-Speech Tagging, Named Entity Recognition, Syntactic & Semantic Dependency Parsing, Document Classification
Cross-Encoder for MS Marco This model was trained on the MS Marco Passage Ranking(https://github.com/microsoft/MSMARCO-Passage-Ranking) task. The model can be used for Information Retrieval: Given a query, encode the query will all possible passages...
An open source library for deep learning end-to-end dialog systems and chatbots.
农业知识图谱(AgriKG):农业领域的信息检索,命名实体识别,关系抽取,智能问答,辅助决策
Reranker More details please refer to our Github: FlagEmbedding(https://github.com/FlagOpen/FlagEmbedding/tree/master). - Model List(model-list) - Usage(usage) - Fine-tuning(fine-tune) - Evaluation(evaluation) - Citation(citation) Different from emb...
FinBERT is a pre-trained NLP model to analyze sentiment of financial text. It is built by further training the BERT language model in the finance domain, using a large financial corpus and thereby fine-tuning it for financial sentiment classification...
DistilBERT base uncased finetuned SST-2 Table of Contents - Model Details(model-details) - How to Get Started With the Model(how-to-get-started-with-the-model) - Uses(uses) - Risks, Limitations and Biases(risks-limitations-and-biases) - Training(tra...