mirror of
https://github.com/senju1337/senju.git
synced 2025-12-24 07:39:29 +00:00
docs: fix doc warnings
Refs: OPS-92
This commit is contained in:
parent
b1bd55d759
commit
22268beaba
2 changed files with 3 additions and 3 deletions
|
|
@ -109,7 +109,7 @@ class Haiku:
|
||||||
:rtype: Haiku
|
:rtype: Haiku
|
||||||
|
|
||||||
:raises: Exception if took the llm too many tries to write a fitting
|
:raises: Exception if took the llm too many tries to write a fitting
|
||||||
haiku or JSONDecodeError if working with JSON failed
|
haiku or JSONDecodeError if working with JSON failed
|
||||||
"""
|
"""
|
||||||
ai_gen_request = {
|
ai_gen_request = {
|
||||||
"model": "haiku",
|
"model": "haiku",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
Senju Image Recognition Module
|
Senju Image Recognition Module
|
||||||
=============================
|
==============================
|
||||||
|
|
||||||
A module providing image description generation capabilities for the Senju
|
A module providing image description generation capabilities for the Senju
|
||||||
haiku application.
|
haiku application.
|
||||||
|
|
@ -31,7 +31,7 @@ Dependencies
|
||||||
* transformers: Hugging Face's library providing access to pre-trained models
|
* transformers: Hugging Face's library providing access to pre-trained models
|
||||||
|
|
||||||
Implementation Details
|
Implementation Details
|
||||||
---------------------
|
----------------------
|
||||||
The module initializes a BLIP model (Bootstrapped Language-Image Pre-training)
|
The module initializes a BLIP model (Bootstrapped Language-Image Pre-training)
|
||||||
which can understand visual content and generate natural language descriptions.
|
which can understand visual content and generate natural language descriptions.
|
||||||
The implementation handles image loading, preprocessing, model inference,
|
The implementation handles image loading, preprocessing, model inference,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue