interstellarninja commited on
Commit
cddca2d
·
1 Parent(s): b7dc3ea

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md CHANGED
@@ -23,3 +23,19 @@ The following `bitsandbytes` quantization config was used during training:
23
 
24
 
25
  - PEFT 0.6.0.dev0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
 
25
  - PEFT 0.6.0.dev0
26
+
27
+ ## Inferenece Example:
28
+
29
+ ========================================
30
+ <s> ### System:
31
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
32
+
33
+ ### Instruction:
34
+ Present an API to determine what animal species a picture from a database is in
35
+
36
+ ### Response:
37
+ <<<domain>>>: Image classification, <<<api_call>>>: model = hub.load('https://tfhub.dev/google/imagenet/inception_v3/classification/5'), <<<api_provider>>>: TensorFlow Hub, <<<explanation>>>: This API call uses TensorFlow's pre-trained Inception V3 image classification model from TensorFlow Hub, which can be used to classify images into multiple categories including animal species and objects, among other things. By loading this model, you can analyze a given picture of an animal from a database, and get the predictions for its class label. <<<code>>>: import tensorflow as tf
38
+ import tensorflow_hub as hub
39
+ model_id = 'https://tfhub.dev/google/imagenet/inception_v3/classification/5'
40
+ model = hub.load(model_id)</s>
41
+ ========================================