Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notyusheng/huggingface-tutorial
A collection of Python scripts using Hugging Face Transformers for various tasks
https://github.com/notyusheng/huggingface-tutorial
huggingface-transformers
Last synced: 20 days ago
JSON representation
A collection of Python scripts using Hugging Face Transformers for various tasks
- Host: GitHub
- URL: https://github.com/notyusheng/huggingface-tutorial
- Owner: NotYuSheng
- Created: 2024-06-04T07:10:08.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-10T15:18:04.000Z (8 months ago)
- Last Synced: 2024-11-09T17:43:55.413Z (3 months ago)
- Topics: huggingface-transformers
- Language: Python
- Homepage: https://huggingface.co/docs/transformers/en/quicktour
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hugging Face Transformers Tutorials
## Linux Docker Installation
```
apt-get update
apt install docker.io
```## Usage
1. Clone this repository and navigate to LLaVA folder
```
git clone https://github.com/NotYuSheng/HuggingFace-Tutorial.git
cd HuggingFace-Tutorial
```2. Build the Docker Image:
```
docker build -t hf-tutorial .
```3. Run image as container
```
docker run -i -t hf-tutorial /bin/bash
```## Table of content
| Index | Script(s) | Description |
| :--: | --- | --- |
| 1 | classifier.py | Sentiment-analysis to analyze and classify sentence as POSITIVE or NEGATIVE |
| 2 | speech-recognizer.py | Extract text from speech |
| 3 | classifier-multilingual.py | Sentiment-analysis to analyze and classify sentence as POSITIVE or NEGATIVE for six languages (English, Dutch, German, French, Spanish, and Italian) |
| 4 | visual-question.py | Image and text input, text response (Simple) |
| 5 | document_answering.py | Image document analysis |