FreedomIntelligence / HuatuoGPT-Vision-7B-hf

Text Generation7.9B5075Updated Oct 23, 2024

Downloads

507

Likes

5

Last updated

Oct 23, 2024

License

apache-2.0

def getimage(imagepath): image = Image.open(imagepath).convert('RGB') imgtype = image.format if not imgtype: imgtype = imagepath.split('.')[-1] bytearr = io.BytesIO() image.save(bytearr, format=imgtype) bytearr.seek(0) image = base64.b64encode(bytearr.getvalue()).decode() retu…

Tasks & library

  • text generation

Tags

  • vision
  • image-text-to-text
  • text-generation
  • en
  • zh

Technical specifications

Parameters7.9B
LibraryNot available
Languagesen, zh
Licenseapache-2.0