Venkateswarlu15 commited on
Commit
18b6d8b
·
verified ·
1 Parent(s): 5f7cbeb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -24
README.md CHANGED
@@ -31,30 +31,6 @@ The training and validation loss, along with BLEU and ChrF scores, were plotted
31
  - **BLEU Score**: Improved gradually but remained relatively low, indicating that further tuning may be needed.
32
  - **ChrF Score**: Showed a consistent increase, reflecting better character-level accuracy in translations.
33
 
34
- ## How to Use
35
-
36
- ### Model Loading
37
- You can load the model using the following code:
38
-
39
- ```python
40
- from transformers import AutoModel, AutoTokenizer
41
-
42
- # Load the model and tokenizer
43
- model = AutoModel.from_pretrained("your-huggingface-username/your-model-name")
44
- tokenizer = AutoTokenizer.from_pretrained("your-huggingface-username/your-model-name")
45
- ```
46
-
47
- ### Translation Example
48
- To perform translation using the model:
49
-
50
- ```python
51
- input_text = "Your input text here"
52
- inputs = tokenizer.encode(input_text, return_tensors="pt")
53
- outputs = model.generate(inputs)
54
- translated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
55
-
56
- print("Translated Text:", translated_text)
57
- ```
58
 
59
  ## Files Included
60
 
 
31
  - **BLEU Score**: Improved gradually but remained relatively low, indicating that further tuning may be needed.
32
  - **ChrF Score**: Showed a consistent increase, reflecting better character-level accuracy in translations.
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  ## Files Included
36