sultanDilawar commited on
Commit
7dfe5a9
·
verified ·
1 Parent(s): 5853d5a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -24
README.md CHANGED
@@ -1,35 +1,30 @@
1
  ---
 
2
  license: mit
3
- datasets:
4
- - sultanDilawar/react-redux-dataset
5
- language:
6
- - en
7
- base_model:
8
- - google/flan-t5-base
9
- pipeline_tag: text-generation
10
- ---
11
- license: mit
12
- datasets:
13
- - sultanDilawar/react-redux-dataset
14
- language:
15
- - en
16
- pipeline_tag: question-answering
17
  tags:
18
- - question-answering
19
  - react
20
  - redux
 
 
 
 
 
21
  ---
22
- # React Redux Model for Question Answering
23
 
24
- This model is fine-tuned for answering questions related to React and Redux concepts. It helps users find precise answers to specific queries about React-Redux.
 
 
 
 
25
 
26
- ## Task: Question Answering
27
 
28
- The model is trained to understand and answer questions about React and Redux topics.
 
29
 
30
- ## Details
 
 
31
 
32
- - **Model Type**: T5-base
33
- - **Task**: Question Answering
34
- - **Language**: English
35
- - **Fine-tuned for**: Answering React and Redux-related questions
 
1
  ---
2
+ language: en
3
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  tags:
 
5
  - react
6
  - redux
7
+ - state management
8
+ datasets:
9
+ - sultanDilawar/react-redux-dataset
10
+ base_model:
11
+ - google-t5/t5-base
12
  ---
 
13
 
14
+ # react-redux-model
15
+
16
+ This is a custom model for understanding React and Redux concepts.
17
+
18
+ ## Usage
19
 
20
+ To use this model, send a POST request to the Hugging Face API:
21
 
22
+ ```python
23
+ import requests
24
 
25
+ model_url = "https://api-inference.huggingface.co/models/sultanDilawar/react-redux-model"
26
+ headers = {"Authorization": "Bearer YOUR_API_TOKEN"}
27
+ data = {"inputs": "What is Redux?"}
28
 
29
+ response = requests.post(model_url, headers=headers, json=data)
30
+ print(response.json())