mahitha-t commited on
Commit
e0a4be5
·
verified ·
1 Parent(s): b1536d5

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +100 -18
  2. model.safetensors +1 -1
  3. model_head.pkl +2 -2
README.md CHANGED
@@ -5,11 +5,93 @@ tags:
5
  - text-classification
6
  - generated_from_setfit_trainer
7
  widget:
8
- - text: This sentence is positive
9
- - text: This sentence is positive
10
- - text: This sentence is negative
11
- - text: This sentence is positive
12
- - text: This sentence is negative
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  metrics:
14
  - accuracy
15
  pipeline_tag: text-classification
@@ -46,10 +128,10 @@ The model has been trained using an efficient few-shot learning technique that i
46
  - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
47
 
48
  ### Model Labels
49
- | Label | Examples |
50
- |:------|:----------------------------------------------------------------------------------------------------------------------|
51
- | 0 | <ul><li>'This sentence is positive'</li><li>'This sentence is positive'</li><li>'This sentence is positive'</li></ul> |
52
- | 1 | <ul><li>'This sentence is negative'</li><li>'This sentence is negative'</li><li>'This sentence is negative'</li></ul> |
53
 
54
  ## Uses
55
 
@@ -69,7 +151,7 @@ from setfit import SetFitModel
69
  # Download from the 🤗 Hub
70
  model = SetFitModel.from_pretrained("mahitha-t/text_classification_model")
71
  # Run inference
72
- preds = model("This sentence is positive")
73
  ```
74
 
75
  <!--
@@ -99,14 +181,14 @@ preds = model("This sentence is positive")
99
  ## Training Details
100
 
101
  ### Training Set Metrics
102
- | Training set | Min | Median | Max |
103
- |:-------------|:----|:-------|:----|
104
- | Word count | 4 | 4.0 | 4 |
105
 
106
- | Label | Training Sample Count |
107
- |:------|:----------------------|
108
- | 0 | 8 |
109
- | 1 | 8 |
110
 
111
  ### Training Hyperparameters
112
  - batch_size: (16, 2)
@@ -129,7 +211,7 @@ preds = model("This sentence is positive")
129
  ### Training Results
130
  | Epoch | Step | Training Loss | Validation Loss |
131
  |:------:|:----:|:-------------:|:---------------:|
132
- | 0.1111 | 1 | 0.1561 | - |
133
 
134
  ### Framework Versions
135
  - Python: 3.11.13
 
5
  - text-classification
6
  - generated_from_setfit_trainer
7
  widget:
8
+ - text: or anyone who was praying for the sight of Al Cliver wrestling a naked, 7ft
9
+ tall black guy into a full nelson, your film has arrived! Film starlet Laura Crawford
10
+ (Ursula Buchfellner) is kidnapped by a group who demand the ransom of $6 million
11
+ to be delivered to their island hideaway. What they don't count on is rugged Vietnam
12
+ vet Peter Weston (Cliver) being hired by a film producer to save the girl. And
13
+ what they really didn't count on was a local tribe that likes to offer up young
14
+ women to their monster cannibal god with bloodshot bug eyes.<br /><br />Pretty
15
+ much the same filming set up as CANNIBALS, this one fares a bit better when it
16
+ comes to entertainment value, thanks mostly a hilarious dub track and the impossibly
17
+ goofy monster with the bulging eyes (Franco confirms they were split ping pong
18
+ balls on the disc's interview). Franco gets a strong EuroCult supporting cast
19
+ including Gisela Hahn (CONTAMINATION) and Werner Pochath (whose death is one of
20
+ the most head-scratching things I ever seen as a guy who is totally not him is
21
+ shown - in close up - trying to be him). The film features tons of nudity and
22
+ the gore (Tempra paint variety) is there. The highlight for me was the world's
23
+ slowly fistfight between Cliver and Antonio de Cabo in the splashing waves. Sadly,
24
+ ol' Jess pads this one out to an astonishing (and, at times, agonizing) 1 hour
25
+ and 40 minutes when it should have run 80 minutes tops. <br /><br />For the most
26
+ part, the Severin DVD looks pretty nice but there are some odd ghosting images
27
+ going on during some of the darker scenes. Also, one long section of dialog is
28
+ in Spanish with no subs (they are an option, but only when you listen to the French
29
+ track). Franco gives a nice 16- minute interview about the film and has much more
30
+ pleasant things to say about Buchfellner than his CANNIBALS star Sabrina Siani.
31
+ - text: I saw this film opening weekend in Australia, anticipating with an excellent
32
+ cast of Ledger, Edgerton, Bloom, Watts and Rush that the definitive story of Ned
33
+ Kelly would unfold before me. Unfortunately, despite an outstanding performance
34
+ by Heath Ledger in the lead role, the plot was paper thin....which doesn't inspire
35
+ me to read "Our Sunshine". There were some other plus points, the support acting
36
+ from Edgerton in particular, assured direction from Jordan (confirming his talent
37
+ on show in Buffalo Soldiers as well), and production design that gave a real feel
38
+ of harshness to the Australian bush, much as the Irish immigrants of the early
39
+ 19th century must have seen it. But I can't help feeling that another opportunity
40
+ has been missed to tell the real story of an Australian folk hero (or was he?)....in
41
+ what I suspect is a concession to Hollywood and selling the picture in the US.
42
+ Oh well, at least Jordan and the producers didn't agree to lose the beards just
43
+ to please Universal...<br /><br />Guess I will just have to content myself with
44
+ Peter Carey's excellent "Secret History of the Kelly Gang". 4/10
45
+ - text: 'THE ZOMBIE CHRONICLES <br /><br />Aspect ratio: 1.33:1 (Nu-View 3-D)<br /><br
46
+ />Sound format: Mono<br /><br />Whilst searching for a (literal) ghost town in
47
+ the middle of nowhere, a young reporter (Emmy Smith) picks up a grizzled hitchhiker
48
+ (Joseph Haggerty) who tells her two stories involving flesh-eating zombies reputed
49
+ to haunt the area.<br /><br />An ABSOLUTE waste of time, hobbled from the outset
50
+ by Haggerty''s painfully amateurish performance in a key role. Worse still, the
51
+ two stories which make up the bulk of the running time are utterly routine, made
52
+ worse by indifferent performances and lackluster direction by Brad Sykes, previously
53
+ responsible for the likes of CAMP BLOOD (1999). This isn''t a ''fun'' movie in
54
+ the sense that Ed Wood''s movies are ''fun'' (he, at least, believed in what he
55
+ was doing and was sincere in his efforts, despite a lack of talent); Sykes'' home-made
56
+ movies are, in fact, aggravating, boring and almost completely devoid of any redeeming
57
+ virtue, and most viewers will feel justifiably angry and cheated by such unimaginative,
58
+ badly-conceived junk. The 3-D format is utterly wasted here.'
59
+ - text: There are some nice shots in this film, it catches some of the landscapes
60
+ with such a beautiful light, in fact the cinematography is probably it's best
61
+ asset.<br /><br />But it's basically more of a made for TV movie, and although
62
+ it has a lot of twists and turns in the plot, which keeps it quite interesting
63
+ viewing, there are no subtitles and key plot developments are unveiled in Spanish,
64
+ so non Spanish speakers will be left a little lost.<br /><br />I had it as a Xmas
65
+ gift, as it's a family trait to work through the films of a actor we find talented,
66
+ and Matthew Mconaughey was just awesome in "A Time to kill" , and the "The Newton
67
+ Boys " so I expressed I wanted to see more of his work.<br /><br />However although
68
+ it says on the DVD box it is a Matthew Mconaughey film and uses this as a marketing
69
+ ploy, he has a few lines and is on screen for not very minutes at the end of the
70
+ film, he is basically an extra and he doesn't exactly light up the screen while
71
+ he is on, so die hard fans, really not worth it from that point of view.<br /><br
72
+ />The films star though, Patrick McGaw is great though and very easy on the eye,
73
+ and his character is just so nice and kind and caring, a true saint of a guy,
74
+ he'd be well written into a ROM com.<br /><br />So for true Mcconaughey acting
75
+ brilliance of the ones I've seen, I'd recommend, "A Time to kill" , "The Newton
76
+ Boys " "Frailty", "How to Lose a Guy in 10 Days", "Edtv" and "Amistad" and avoid
77
+ too "Larger Than Life" and "Angels in the Outfield" unless you feel like a kids
78
+ film or have kids around as neither of these are indicative of his talent, but
79
+ are quite amusing films for children, again MM is really nothing more that a supporting
80
+ artist with just a few if any lines.<br /><br />As for Scorpion Springit's not
81
+ a bad film but it also isn't screen stealing either.
82
+ - text: I guess I was attracted to this film both because of the sound of the story
83
+ and the leading actor, so I gave it a chance, from director Gregor Jordan (Buffalo
84
+ Soldiers). Basically Ned Kelly (Heath Ledger) is set up by the police, especially
85
+ Superintendent Francis Hare (Geoffrey Rush), he is forced to go on the run forming
86
+ a gang and go against them to clear his own and his family's names. That's really
87
+ all I can say about the story, as I wasn't paying the fullest attention to be
88
+ honest. Also starring Orlando Bloom as Joseph Byrne, Naomi Watts as Julia Cook,
89
+ Laurence Kinlan as Dan Kelly, Philip Barantini as Steve Hart, Joel Edgerton as
90
+ Aaron Sherritt, Kiri Paramore as Constable Fitzpatrick, Kerry Condon as Kate Kelly,
91
+ Emily Browning as Grace Kelly and Rachel Griffiths as Susan Scott. Ledger makes
92
+ a pretty good performance, for what it's worth, and the film does have it's eye-catching
93
+ moments, particularly with a gun battle towards the end, but I can't say I enjoyed
94
+ it as I didn't look at it all. Okay!
95
  metrics:
96
  - accuracy
97
  pipeline_tag: text-classification
 
128
  - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
129
 
130
  ### Model Labels
131
+ | Label | Examples |
132
+ |:---------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
133
+ | negative | <ul><li>'I saw this film opening weekend in Australia, anticipating with an excellent cast of Ledger, Edgerton, Bloom, Watts and Rush that the definitive story of Ned Kelly would unfold before me. Unfortunately, despite an outstanding performance by Heath Ledger in the lead role, the plot was paper thin....which doesn\'t inspire me to read "Our Sunshine". There were some other plus points, the support acting from Edgerton in particular, assured direction from Jordan (confirming his talent on show in Buffalo Soldiers as well), and production design that gave a real feel of harshness to the Australian bush, much as the Irish immigrants of the early 19th century must have seen it. But I can\'t help feeling that another opportunity has been missed to tell the real story of an Australian folk hero (or was he?)....in what I suspect is a concession to Hollywood and selling the picture in the US. Oh well, at least Jordan and the producers didn\'t agree to lose the beards just to please Universal...<br /><br />Guess I will just have to content myself with Peter Carey\'s excellent "Secret History of the Kelly Gang". 4/10'</li><li>"I think I will make a movie next weekend. Oh wait, I'm working..oh I'm sure I can fit it in. It looks like whoever made this film fit it in. I hope the makers of this crap have day jobs because this film sucked!!! It looks like someones home movie and I don't think more than $100 was spent making it!!! Total crap!!! Who let's this stuff be released?!?!?!"</li><li>"Ned aKelly is such an important story to Australians but this movie is awful. It's an Australian story yet it seems like it was set in America. Also Ned was an Australian yet he has an Irish accent...it is the worst film I have seen in a long time"</li></ul> |
134
+ | positive | <ul><li>'Today I found "They All Laughed" on VHS on sale in a rental. It was a really old and very used VHS, I had no information about this movie, but I liked the references listed on its cover: the names of Peter Bogdanovich, Audrey Hepburn, John Ritter and specially Dorothy Stratten attracted me, the price was very low and I decided to risk and buy it. I searched IMDb, and the User Rating of 6.0 was an excellent reference. I looked in "Mick Martin & Marsha Porter Video & DVD Guide 2003" and \x96 wow \x96 four stars! So, I decided that I could not waste more time and immediately see it. Indeed, I have just finished watching "They All Laughed" and I found it a very boring overrated movie. The characters are badly developed, and I spent lots of minutes to understand their roles in the story. The plot is supposed to be funny (private eyes who fall in love for the women they are chasing), but I have not laughed along the whole story. The coincidences, in a huge city like New York, are ridiculous. Ben Gazarra as an attractive and very seductive man, with the women falling for him as if her were a Brad Pitt, Antonio Banderas or George Clooney, is quite ridiculous. In the end, the greater attractions certainly are the presence of the Playboy centerfold and playmate of the year Dorothy Stratten, murdered by her husband pretty after the release of this movie, and whose life was showed in "Star 80" and "Death of a Centerfold: The Dorothy Stratten Story"; the amazing beauty of the sexy Patti Hansen, the future Mrs. Keith Richards; the always wonderful, even being fifty-two years old, Audrey Hepburn; and the song "Amigo", from Roberto Carlos. Although I do not like him, Roberto Carlos has been the most popular Brazilian singer since the end of the 60\'s and is called by his fans as "The King". I will keep this movie in my collection only because of these attractions (manly Dorothy Stratten). My vote is four.<br /><br />Title (Brazil): "Muito Riso e Muita Alegria" ("Many Laughs and Lots of Happiness")'</li><li>'This video nasty was initially banned in Britain, and allowed in last November without cuts.<br /><br />It features the Playboy Playmate of the Month October 1979, Ursula Buchfellner. The opening cuts back and forth between Buchfellner and foggy jungle pictures. I am not sure what the purpose of that was. It would have been much better to focus on the bathtub scene.<br /><br />Laura (Buchfellner) is kidnapped and held in the jungle for ransom. Peter (Al Cliver - The Beyond, Zombie) is sent to find her and the ransom. Of course, one of the kidnappers (Antonio de Cabo) manages to pass the time productively, while another (Werner Pochath) whines incessantly.<br /><br />The ransom exchange goes to hell, and Laura runs into the jungle. Will Peter save her before the cannibals have a meal? Oh, yes, there are cannibals in this jungle. Why do you think it was a video nasty! Muriel Montossé is found by Peter and his partner (Antonio Mayans - Angel of Death) on the kidnapper\'s boat. Montossé is very comfortably undressed. Peter leaves them and goes off alone to find Laura, who has been captured by now. They pass the time having sex, and don\'t see the danger approaching. Guts, anyone? Great fight between Peter and the naked devil (Burt Altman).<br /><br />Blood, decapitation, guts, lots of full frontal, some great writhing by the cannibal priestess (Aline Mess), and the line, "They tore her heart out," which is hilarious if you see the film.'</li><li>"or anyone who was praying for the sight of Al Cliver wrestling a naked, 7ft tall black guy into a full nelson, your film has arrived! Film starlet Laura Crawford (Ursula Buchfellner) is kidnapped by a group who demand the ransom of $6 million to be delivered to their island hideaway. What they don't count on is rugged Vietnam vet Peter Weston (Cliver) being hired by a film producer to save the girl. And what they really didn't count on was a local tribe that likes to offer up young women to their monster cannibal god with bloodshot bug eyes.<br /><br />Pretty much the same filming set up as CANNIBALS, this one fares a bit better when it comes to entertainment value, thanks mostly a hilarious dub track and the impossibly goofy monster with the bulging eyes (Franco confirms they were split ping pong balls on the disc's interview). Franco gets a strong EuroCult supporting cast including Gisela Hahn (CONTAMINATION) and Werner Pochath (whose death is one of the most head-scratching things I ever seen as a guy who is totally not him is shown - in close up - trying to be him). The film features tons of nudity and the gore (Tempra paint variety) is there. The highlight for me was the world's slowly fistfight between Cliver and Antonio de Cabo in the splashing waves. Sadly, ol' Jess pads this one out to an astonishing (and, at times, agonizing) 1 hour and 40 minutes when it should have run 80 minutes tops. <br /><br />For the most part, the Severin DVD looks pretty nice but there are some odd ghosting images going on during some of the darker scenes. Also, one long section of dialog is in Spanish with no subs (they are an option, but only when you listen to the French track). Franco gives a nice 16- minute interview about the film and has much more pleasant things to say about Buchfellner than his CANNIBALS star Sabrina Siani."</li></ul> |
135
 
136
  ## Uses
137
 
 
151
  # Download from the 🤗 Hub
152
  model = SetFitModel.from_pretrained("mahitha-t/text_classification_model")
153
  # Run inference
154
+ preds = model("I guess I was attracted to this film both because of the sound of the story and the leading actor, so I gave it a chance, from director Gregor Jordan (Buffalo Soldiers). Basically Ned Kelly (Heath Ledger) is set up by the police, especially Superintendent Francis Hare (Geoffrey Rush), he is forced to go on the run forming a gang and go against them to clear his own and his family's names. That's really all I can say about the story, as I wasn't paying the fullest attention to be honest. Also starring Orlando Bloom as Joseph Byrne, Naomi Watts as Julia Cook, Laurence Kinlan as Dan Kelly, Philip Barantini as Steve Hart, Joel Edgerton as Aaron Sherritt, Kiri Paramore as Constable Fitzpatrick, Kerry Condon as Kate Kelly, Emily Browning as Grace Kelly and Rachel Griffiths as Susan Scott. Ledger makes a pretty good performance, for what it's worth, and the film does have it's eye-catching moments, particularly with a gun battle towards the end, but I can't say I enjoyed it as I didn't look at it all. Okay!")
155
  ```
156
 
157
  <!--
 
181
  ## Training Details
182
 
183
  ### Training Set Metrics
184
+ | Training set | Min | Median | Max |
185
+ |:-------------|:----|:---------|:----|
186
+ | Word count | 49 | 233.3125 | 837 |
187
 
188
+ | Label | Training Sample Count |
189
+ |:---------|:----------------------|
190
+ | negative | 8 |
191
+ | positive | 8 |
192
 
193
  ### Training Hyperparameters
194
  - batch_size: (16, 2)
 
211
  ### Training Results
212
  | Epoch | Step | Training Loss | Validation Loss |
213
  |:------:|:----:|:-------------:|:---------------:|
214
+ | 0.1111 | 1 | 0.1635 | - |
215
 
216
  ### Framework Versions
217
  - Python: 3.11.13
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:18c5894dcbec50c5371dfcdbb55bfbd2a35e84842458cadc4f3a65b4c262eca3
3
  size 69565312
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e24bf945143c019b2c930386fff2df7c5bc2ce17f57b5f60c26f3a952382848
3
  size 69565312
model_head.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0348b82a079794b8bfae5d936e9db047b21d45ce0a80c81cac7990af255f4d5b
3
- size 3935
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3580009de24e9d57090fb12cd9fbb5ca5524b9402cc969d0a9e3cc7c0a98ea1f
3
+ size 3983