BUAADreamer
commited on
Commit
•
a94341a
1
Parent(s):
030f3b8
Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,9 @@ import requests
|
|
26 |
from PIL import Image
|
27 |
|
28 |
import torch
|
29 |
-
from transformers import AutoProcessor, AutoModelForVision2Seq
|
|
|
|
|
30 |
|
31 |
class LlavaMultiModalProjectorYiVL(nn.Module):
|
32 |
def __init__(self, config: "LlavaConfig"):
|
|
|
26 |
from PIL import Image
|
27 |
|
28 |
import torch
|
29 |
+
from transformers import AutoProcessor, AutoModelForVision2Seq, LlavaConfig
|
30 |
+
import transformers
|
31 |
+
from torch import nn
|
32 |
|
33 |
class LlavaMultiModalProjectorYiVL(nn.Module):
|
34 |
def __init__(self, config: "LlavaConfig"):
|