Instructions to use nathansutton/generate-cxr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nathansutton/generate-cxr with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="nathansutton/generate-cxr")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("nathansutton/generate-cxr") model = AutoModelForImageTextToText.from_pretrained("nathansutton/generate-cxr") - Notebooks
- Google Colab
- Kaggle
Commit ·
b3bed95
1
Parent(s): 371fd9a
Upload BlipForConditionalGeneration
Browse files- config.json +1 -1
- pytorch_model.bin +1 -1
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_commit_hash": null,
|
| 3 |
-
"_name_or_path": "./blip-checkpoints/checkpoint-
|
| 4 |
"architectures": [
|
| 5 |
"BlipForConditionalGeneration"
|
| 6 |
],
|
|
|
|
| 1 |
{
|
| 2 |
"_commit_hash": null,
|
| 3 |
+
"_name_or_path": "./blip-checkpoints/checkpoint-24000",
|
| 4 |
"architectures": [
|
| 5 |
"BlipForConditionalGeneration"
|
| 6 |
],
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1879139631
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5ce6df2b9a61dd6d04acf7e0caf5f051c4b8047a490ef2295061fd393a7d912
|
| 3 |
size 1879139631
|