Kabeer Akande commited on
Commit
34ad485
1 Parent(s): c005454

adds read me to NER

Browse files
Files changed (1) hide show
  1. README.md +68 -13
README.md CHANGED
@@ -1,13 +1,68 @@
1
- ---
2
- title: Named Entity Recognition
3
- emoji:
4
- colorFrom: blue
5
- colorTo: indigo
6
- sdk: gradio
7
- sdk_version: 4.12.0
8
- app_file: app.py
9
- pinned: false
10
- license: mit
11
- ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Named Entity Recognition App
2
+
3
+ ## Overview
4
+ This repository contains the source code for a Named Entity Recognition (NER) application. The app is built using Hugging Face's Transformers and Gradio, allowing users to input text and receive identified named entities. It utilizes a fine-tuned BERT model (`koakande/bert-finetuned-ner`) for high-accuracy entity recognition.
5
+
6
+ ## Features
7
+ - **Interactive NER**: The core feature of this app is to identify named entities in any given text. It classifies entities into predefined categories like names, locations, organizations, etc.
8
+ - **Hugging Face Integration**: The app is designed to be compatible with Hugging Face Spaces, providing a user-friendly interface and easy access.
9
+
10
+ ## Repository Structure
11
+
12
+ ```graphql
13
+ named-entity-recognition-main/
14
+
15
+ ├── .gitattributes
16
+ ├── .gitignore
17
+ ├── README.md
18
+ ├── app.py
19
+
20
+ ├── notebooks/
21
+ │ ├── Named_Entity_Recognition_Demo.ipynb
22
+ │ └── named_entity_recognition_dev.ipynb
23
+
24
+ ├── poetry.lock
25
+ └── pyproject.tom
26
+ ```
27
+
28
+ - `app.py`: Main application file which contains the Gradio interface and model integration.
29
+ - `notebooks/`: Contains Jupyter notebooks for development and demonstration purposes.
30
+ - `pyproject.toml` & `poetry.lock`: Defines project dependencies and their locked versions for Poetry.
31
+
32
+ ## Getting Started
33
+ To run this app locally, clone the repository:
34
+
35
+ ```bash
36
+ git clone git@github.com:kbakande/named-entity-recognition.git
37
+ cd named-entity-recognition-main
38
+ ```
39
+
40
+ ## Managing Dependencies with Poetry
41
+ * This project uses Poetry for dependency management. To install dependencies, ensure you have Poetry installed and then run:
42
+ ```bash
43
+ poetry install
44
+ ```
45
+ * Run the application
46
+ ```bash
47
+ poetry run python app.py
48
+ ```
49
+
50
+ ## Interacting with the App on Hugging Face Spaces
51
+ Interact with a live version of this app hosted on Hugging Face Spaces. Visit the [Named Entity Recognition App](https://huggingface.co/spaces/koakande/named_entity_recognition) on Hugging Face Spaces to try out the app without any local setup.
52
+
53
+ ## Contributing
54
+ Contributions to improve the app or documentation are welcome. Please read our contributing guidelines to get started.
55
+
56
+ ## Dependencies
57
+
58
+ Key Python libraries and frameworks used in this project:
59
+
60
+ * [Transformers](https://pypi.org/project/transformers/)
61
+ * [Dataset](https://pypi.org/project/datasets/)
62
+ * [Evaluate](https://pypi.org/project/evaluate/)
63
+ * [Gradio](https://pypi.org/project/gradio/)
64
+ * [Sentencepiece](https://pypi.org/project/sentencepiece/)
65
+ * [Torch](https://pypi.org/project/torch/)
66
+
67
+ ## Author
68
+ [Kabeer Akande](https://www.linkedin.com/in/koakande/)