Commit ·
16a8334
1
Parent(s): 4ad5631
Updated readme file
Browse files
README.md
CHANGED
|
@@ -10,6 +10,25 @@ pipeline_tag: image-to-text
|
|
| 10 |
duplicated_from: Salesforce/blip2-opt-2.7b
|
| 11 |
---
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
# BLIP-2, OPT-2.7b, pre-trained only
|
| 14 |
|
| 15 |
BLIP-2 model, leveraging [OPT-2.7b](https://huggingface.co/facebook/opt-2.7b) (a large language model with 2.7 billion parameters).
|
|
|
|
| 10 |
duplicated_from: Salesforce/blip2-opt-2.7b
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Update to existing Salesforce model card:
|
| 14 |
+
|
| 15 |
+
**Added handler to run mode on hugging face inference pipeline.**
|
| 16 |
+
|
| 17 |
+
Input:
|
| 18 |
+
```
|
| 19 |
+
{
|
| 20 |
+
"inputs": "<Base64 Image>",
|
| 21 |
+
"prompts": "<Prompt Text here>"
|
| 22 |
+
}
|
| 23 |
+
```
|
| 24 |
+
Output:
|
| 25 |
+
```
|
| 26 |
+
{
|
| 27 |
+
"captions":"<Generated Image caption>"
|
| 28 |
+
}
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
|
| 32 |
# BLIP-2, OPT-2.7b, pre-trained only
|
| 33 |
|
| 34 |
BLIP-2 model, leveraging [OPT-2.7b](https://huggingface.co/facebook/opt-2.7b) (a large language model with 2.7 billion parameters).
|