RepositoryPythonDEĐức
explosion

explosion/spacy-transformers

🛸 Use pretrained transformers like BERT, XLNet and GPT-2 in spaCy

1.4ksao
179fork
0issue
2lượt xem

🚀 spacy-transformers: Kết nối transformer mạnh mẽ với spaCy

Tích hợp BERT, RoBERTa, XLNet trực tiếp vào pipeline xử lý ngôn ngữ tự nhiên spaCy — hỗ trợ đa nhiệm và huấn luyện linh hoạt.

Đây là gói mở rộng cho phép sử dụng các mô hình transformer tiền huấn luyện thông qua thư viện transformers của Hugging Face trong môi trường spaCy. Dự án hỗ trợ cách kết nối dễ dàng với các kiến trúc như BERT, GPT-2, XLNet, RoBERTa...

✨ Điểm nổi bật

  • Sử dụng mô hình transformer: Hỗ trợ BERT, RoBERTa, XLNet để nâng cường pipeline spaCy.
  • Học đa nhiệm: Hỗ trợ backprop từ nhiều thành phần pipeline đến một mô hình transformer.
  • Cấu hình mạnh mẽ: Tận dụng hệ thống config linh hoạt của spaCy v3.
  • Can chỉnh token: Tự động căn chỉnh đầu ra transformer với tokenization của spaCy.
  • Tùy chỉnh dữ liệu Doc: Dễ dàng điều chỉnh dữ liệu transformer lưu trong đối tượng Doc.
  • Xử lý tài liệu dài: Hỗ trợ tùy chỉnh cách xử lý tài liệu dài.
  • Tuần tự hóa sẵn: Hỗ trợ đóng gói và lưu trữ mô hình một cách tự động.

💡 Vì sao đáng chú ý

spacy-transformers không chỉ đơn thuần kết nối transformer vào spaCy, mà còn tối ưu hóa toàn bộ quy trình huấn luyện nhờ hệ thống config mạnh mẽ của spaCy v3. Đặc biệt, khả năng học đa nhiệm cho phép một mô hình transformer được huấn luyện đồng thời từ nhiều nhiệm vụ khác nhau, rất hiệu quả cho các ứng dụng NLP phức tạp.


#spacy #transformers #BERT #NLP #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.

RepositoryPython
huggingface/transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

168.0k
Oct 23, 2026
RepositoryPython
google-research/bert

TensorFlow code and pre-trained models for BERT

40.0k
Jul 23, 2024
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

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...

♥0
190.2M
Jun 1, 2026
RepositoryRust
huggingface/tokenizers

💥 Fast State-of-the-Art Tokenizers optimized for Research and Production

11.2k
Oct 19, 2026
RepositoryPython
explosion/spaCy

💫 Industrial-strength Natural Language Processing (NLP) in Python

34.0k
Oct 12, 2026
RepositoryPython
jenojp/negspacy

spaCy pipeline object for negating concepts in text

279
Apr 20, 2026
RepositoryJupyter Notebook
graykode/nlp-tutorial

Natural Language Processing Tutorial for Deep Learning Researchers

14.9k
Feb 21, 2024
RepositoryC
huggingface/neuralcoref

✨Fast Coreference Resolution in spaCy with Neural Networks

2.9k
Apr 13, 2023
RepositoryPython
Comfy-Org/ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

143.2k
Oct 26, 2026