Fine-Tuning TrOCR for Curved and Blurry Text Recognition

Fine-Tuning TrOCR for Curved and Blurry Text Recognition

Author: Sovit Rath Translated by: ronghuaiyang Introduction This article fine-tunes the TrOCR model on a dataset of curved and blurry text, analyzing the code and training results at each step. TrOCR (Transformer based Optical Character Recognition) model is one of the best OCR models. In previous articles, we analyzed how well this model performs on … Read more

Introduction and Usage of TrOCR: Transformer-Based OCR

Introduction and Usage of TrOCR: Transformer-Based OCR

Author: Sovit Rath Translator: ronghuaiyang Introduction This article introduces the structure and usage of TrOCR, teaching step by step from each line of code. Optical Character Recognition (OCR) has seen several innovations in recent years. Its impact on retail, healthcare, banking, and many other industries is tremendous. Despite its long history and some state-of-the-art models, … Read more

Llama Model Utility Toolkit

Llama Model Utility Toolkit

Project Overview Llama is an easily accessible, open large language model (LLM) designed for developers, researchers, and businesses to build, experiment, and responsibly scale their generative AI ideas. As part of the foundational system, it is a cornerstone for global social innovation. Several key aspects: Open Access: Easy access to cutting-edge large language models, promoting … Read more

How to Use BERT and GPT-2 in Your Models

How to Use BERT and GPT-2 in Your Models

Recommended by New Intelligence Source: Zhuanzhi (ID: Quan_Zhuanzhi) Editor: Sanshi [New Intelligence Guide] In the field of NLP, various advanced tools have emerged recently. However, practice is the key, and how to apply them to your own models is crucial. This article introduces this issue. Recently in NLP, various pre-trained language models like ELMO, GPT, … Read more

Building Language Applications with Hugging Face Transformers

Building Language Applications with Hugging Face Transformers

Hugging Face is a chatbot startup based in New York, focusing on NLP technology, with a large open-source community. Especially, the open-source natural language processing and pre-trained model library, Transformers, has been downloaded over a million times and has more than 24,000 stars on GitHub. Transformers provides a large number of state-of-the-art pre-trained language model … Read more

Hugging Face Official Course Launched: Free NLP Training

Hugging Face Official Course Launched: Free NLP Training

Machine Heart reports Editor: Du Wei The Hugging Face NLP course is now live, and all courses are completely free. Those in the NLP field should be very familiar with the renowned Hugging Face, a startup focused on solving various NLP problems that has brought many beneficial technical achievements to the community. Last year, the … Read more

Qwen 1.5 Open Source! Best Practices for Magic Adaptation!

Qwen 1.5 Open Source! Best Practices for Magic Adaptation!

In recent months, the Tongyi Qianwen team has been working hard to explore how to build a ‘good’ model while optimizing the developer experience. Just before the Chinese New Year, the Tongyi Qianwen team shared the next version of the Qwen open-source series, Qwen 1.5. Qwen 1.5 has open-sourced six sizes of foundational and chat … Read more

Introduction to Using LM Studio for Local LLM Applications

Introduction to Using LM Studio for Local LLM Applications

LM Studio is the simplest way to support local open-source large language models. It is plug-and-play, requires no coding, is very simple, and has a beautiful interface. Today, I will introduce this application. 1. What Can LM Studio Do? 🤖 Run LLM completely offline on a laptop 👾 Use models via in-app chat UI or … Read more

A Powerful Python Library: Call GPT-4 with One Line of Code!

A Powerful Python Library: Call GPT-4 with One Line of Code!

Hello everyone! Today I want to reveal an AI gem in the Python world——Hugging Face’s transformers library! This library is like having a legion of AI assistants, specifically designed to call various top AI models. Using transformers is simply the Swiss Army knife of AI development! Come on, let’s explore the magical charm of the … Read more

Introduction to Transformers in NLP

Introduction to Transformers in NLP

Recently, Hugging Face has a very popular book titled “nlp-with-transformers”, and we will be updating practical tutorials related to transformers, so let’s get hands-on learning! Original text: https://www.oreilly.com/library/view/natural-language-processing/9781098103231/ch01.html Warning ahead, there will be a strong flavor of translation, so please enjoy while it’s fresh. Hello Transformers In 2017, researchers at Google published a paper proposing … Read more